/**
 * @filename:PpBom Sep 23, 2024
 * Copyright(c) 2022 Wonder Co. Ltd.
 * All right reserved.
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * @Description:TODO(用料清单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_ppbom")
@ApiModel(value="t_prd_ppbom对象", description="用料清单表")
public class PpBom extends Model<PpBom> {

    private static final long serialVersionUID = 1727087268669822L;

    @TableId(value ="Id", type = IdType.AUTO)
    @ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;

    @TableField(value = "FID")
    @ApiModelProperty(name = "FID" , value = "用料清单内码")
    private Long FID;

    @TableField(value = "FBILLNO")
    @ApiModelProperty(name = "FBILLNO" , value = "用料清单编号")
    private String FBILLNO;

    @TableField(value = "FMOBILLNO")
    @ApiModelProperty(name = "FMOBILLNO" , value = "生产订单编号")
    private String FMOBILLNO;

    @TableField(value = "FBOMID")
    @ApiModelProperty(name = "FBOMID" , value = "BOM版本")
    private String FBOMID;

    @TableField(value = "FBOMNAME")
    @ApiModelProperty(name = "FBOMNAME" , value = "BOM版本名称")
    private String FBOMNAME;

    @TableField(value = "FMATERIALNUMBER")
    @ApiModelProperty(name = "FMATERIALNUMBER" , value = "物料编码")
    private String FMATERIALNUMBER;

    @TableField(value = "FMATERIALNAME")
    @ApiModelProperty(name = "FMATERIALNAME" , value = "物料名称")
    private String FMATERIALNAME;


    @TableField(value = "FSPECIFICATION")
    @ApiModelProperty(name = "FSPECIFICATION" , value = "规格型号")
    private String FSPECIFICATION;

    @TableField(value = "FUNITID")
    @ApiModelProperty(name = "FUNITID" , value = "单位内码")
    private String FUNITID;

    @TableField(value = "FUNITNAME")
    @ApiModelProperty(name = "FUNITNAME" , value = "单位名称")
    private String FUNITNAME;

    @TableField(value = "FNUMERATOR")
    @ApiModelProperty(name = "FNUMERATOR" , value = "分子")
    private Double FNUMERATOR;

    @TableField(value = "FDENOMINATOR")
    @ApiModelProperty(name = "FDENOMINATOR" , value = "分母")
    private Double FDENOMINATOR;

    @TableField(value = "FMUSTQTY")
    @ApiModelProperty(name = "FMUSTQTY" , value = "应发数量")
    private Double FMUSTQTY;

    @TableField(value = "FINFACTQTY")
    @ApiModelProperty(name = "FINFACTQTY" , value = "实发数量")
    private Double FINFACTQTY;

    @TableField(value = "FRESIDUEQTY")
    @ApiModelProperty(name = "FRESIDUEQTY" , value = "剩余未发数量")
    private Double FRESIDUEQTY;



    @Override
    public Serializable pkVal() {
        return this.Id;
    }

}
